home *** CD-ROM | disk | FTP | other *** search
- Path: news.cs.hope.edu!vnopstal
- From: vnopstal@cs.hope.edu (Michael Van Opstall)
- Newsgroups: comp.lang.c++
- Subject: Operator Overloading
- Date: 4 Jan 1996 20:32:43 GMT
- Organization: Hope College
- Message-ID: <4chdhb$g64@news.cs.hope.edu>
- NNTP-Posting-Host: smaug.cs.hope.edu
- X-Newsreader: TIN [version 1.2 PL2]
-
- A couple of questions on operator overloading:
-
- 1. If you overload ==, do you have to overload != as well?
-
- 2. What is the accepted method for overloading >> and <<? The way I do it
- is not very cool and not slick at all. Should I be including streams and doing
- stream manipulation? That makes sense.
-
- Thanks...
-
- --
- Michael A. Van Opstall -- vnopstal@cs.hope.edu
- http://www.cs.hope.edu/~vnopstal/deal.html - try it
-